OpenRoads Designer CONNECT Edition SDK Help

Browse all civil cells from libraries

The below code shows how to browse all the civil cells from the libraries.
public void BrowseAllCivilCellsFromLibraries()
        {
            //Get all the civil cells from the available libraries
            IEnumerable<Bentley.CifNET.GeometryModel.SDK.CivilCellInfo> libraryCivilCells = Bentley.CifNET.GeometryModel.SDK.CivilCell.GetCivilCellInfoFromLibraries();

            //Iterate civil cells
            foreach (var civilCell in libraryCivilCells)
            {
                string civilCellName = civilCell.CivilCellName;
            }
        }